package gat.dto.res.dic;

import org.springframework.validation.annotation.Validated;

import com.bitsun.core.framwork.api.dto.IResponseDto;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author sxq
 * @Date 2022/4/21
 * @Version 1.0
 */


@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class DicDataVo implements IResponseDto {
    /**
     * int8
     */
    @ApiModelProperty(value = "")
    @JsonProperty(index = 0)
    private Long id;

    /**
     * 类型code varchar
     */
    @ApiModelProperty(value = "类型code")
    @JsonProperty(index = 10)
    private String typeCode;

    /**
     * code varchar
     */
    @ApiModelProperty(value = "code")
    @JsonProperty(index = 20)
    private String code;

    /**
     * 描述（暂时用） varchar
     */
    @ApiModelProperty(value = "描述（暂时用）")
    @JsonProperty(index = 30)
    private String description;

    /**
     * 排序 int4
     */
    @ApiModelProperty(value = "排序")
    @JsonProperty(index = 40)
    private Integer sort;

}
